﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 猫_狗_鸭_猴
{
    class Duck:Animal,ISwim 
    {
        public Duck (string name) : base(name)
        {

        }

        public void Swim()
        {
            Console.WriteLine("鸭鸭会游泳哦");
        }
    }
}
